import store from "./index";
import Vue from "vue";

export function clearAllProductCache() {
  Vue.set(store.state.product, "product", {});
}

export function clearSelectedProduct(arr) {
  arr.forEach((id) => Vue.delete(store.state.product.product, id));
}
